package com.zz.service.impl;

import com.zz.pojo.Order;
import com.zz.service.OrderService;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {
    @Override
    public Order findById(Integer id) {
        Order order = new Order();
        order.setGoods("iphone13");
        order.setId(id);
        order.setNum(1);
        order.setPirce(5599);
        return order;
    }
}
